{extend name="public/base" /} {block name="body"}
<div class="ibox float-e-margins">
	<div class="content-tabs">
			<ol class="breadcrumb">
				<li>
					<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
				</li>
				<li><strong>提现列表</strong></li>
			</ol>
	</div>
	
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('search')}">
		<div class="row">
			<div class="col-sm-12">
				<div class="col-sm-2">
					<div class="input-group">
					<!--	<a href="{:url('add')}" class="btn btn-primary btn-outline">添加</a>-->
					</div>
				</div>
			</div>
		</div>
		<div class="row">
					&nbsp;&nbsp;&nbsp;
							用户昵称<input type="text" id="store_name" name="nick_name" value="" placeholder="请输入用户昵称" class="bank" />
				
						    <select class="bank" name="user_type">
                 				<option value="0">请选择用户类型</option>
                                <option value="1">普通用户</option>
                                <option value="2">商户</option>
                                <option value="3">总代理</option>
                            </select>
					
                  
                     			<select class="bank" name="type">
                     				<option value="0">请选择提现类型</option>
                                    <option value="1">T+0</option>
                                    <option value="2">T+1</option>
                                    <option value="3">T+2</option>
                                </select>
                
                     			<select class="bank" name="cash_status">
                     				<option value="0">请选择提现状态</option>
                                    <option value="1">处理中</option>
                                    <option value="2">提现成功</option>
                                    <option value="3">提现失败</option>
                                </select>
       
								<select class="bank" name="message">
                     				<option value="0">请选择提现账户</option>
                                    <option value="1">银行卡</option>
                                    <option value="2">支付宝</option>
                                    <option value="3">微信支付</option>
                                </select>
                                审核状态<select class="bank" name="cash_status">
     				         <option value="0">请选择</option>                            
                             <option value="1">处理中</option>
                             <option value="2">已完成</option>
                              <option value="3">失败</option>
                               </select>
                                <br/></br>
             &nbsp;&nbsp;&nbsp;添加时间<input type="text" id='createtime' name='createtime' onclick='WdatePicker()'  placeholder="开始时间" class="bank" />
						            <input type="text" id='end_time' name='end_time' onclick='WdatePicker()'  placeholder="结束时间" class="bank" />
                                  <input type='hidden' name="end_time"  value="2017-4-1" >				
								<span class="bank" style="border-radius:0px;border:1px;"><button type="submit" class="btn btn-sm btn-primary"><li class="fa fa-search"> 查询</li></button> </span>
						
        </div>
        </form>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                            	<th>提现人</th>
                                <th>手机号</th>
                                <th>提现金额</th>
                                <th>用户类型</th>
                                <th>提现账户</th>
                                <th>提现类型</th>
								<th>实际到账金额</th>
                                <th>手续费</th>
                                <th>状态</th>
                                <th>申请时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list" id='ad'}
                        	<tr>
                        		<td>{$ad.nick_name}</td>
                        		<td>{$ad.mobile}</td>
                        		<td>{$ad.balance}</td>
                        		<td>{if $ad.user_type==1}
                        			普通用户
                        			{elseif  $ad.user_type==2}
                        			商户
                        			{elseif  $ad.user_type==3}
                        			总代理
                        			{/if}
                        		</td>
                        		<td>{if $ad.cash_type==1}
                        			银行卡
                        			{elseif  $ad.cash_type==2}
                        			支付宝
                        			{elseif  $ad.cash_type==3}
                        			微信支付
                        			{/if}
                        		</td>
                        		<td>{if $ad.type==1}
                        			T+0
                        			{elseif  $ad.type==2}
                        			T+1
                        			{elseif  $ad.type==3}
                        			T+2
                        			{/if}
                        		</td>
                        		<td>{$ad.actual_balance}</td>
                        		<td>{$ad.counter_fee}</td>
                        		<td>{if $ad.cash_status==1}
                        			处理中
                        			{elseif $ad.cash_status==2}
                        			已完成
                        			{elseif $ad.cash_status==3}
                        			处理中
                        			{/if}
                        		</td>
                        		<td>{$ad.createtime}</td>
                        	    <td>	
                        			<a href="{:url('edit',['id'=>$ad.id])}" class="btn btn-primary bnt-sm">
										<i class="fa fa-paste"></i> 编辑</a>
                        		</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                      {$list->render()}
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__JS__/jquery.form.js"></script>
<script src="__LIB__/validate/jquery.validate.min.js"></script>
<script src="__LIB__/validate/messages_zh.min.js"></script>
<script src="__LIB__/validate/add_validate.min.js"></script>
<script src="__LIB__/fileinput/js/fileinput.min.js"></script>
<script src="__LIB__/fileinput/js/locales/zh.js"></script>
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
</script>
<style>
.bank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}